#8 ✓resolved
Rick DeNatale

Failure using bounded? on Event with exdates

Reported by Rick DeNatale | May 21st, 2009 @ 07:57 PM | in 0.0.10

This spec illustrates the problem

  context "bounded? bug" do

before(:each) do
  events = RiCal.parse_string rectify_ical <<-ENDCAL
  BEGIN:VEVENT
  EXDATE:20090114T163000
  EXDATE:20090128T163000
  EXDATE:20090121T163000
  EXDATE:20090211T163000
  EXDATE:20090204T163000
  EXDATE:20090218T163000
  TRANSP:OPAQUE
  DTSTAMP;VALUE=DATE-TIME:20090107T024340Z
  CREATED;VALUE=DATE-TIME:20090107T024012Z
  DTEND;TZID=US/Mountain;VALUE=DATE-TIME:20090114T180000
  DTSTART;TZID=US/Mountain;VALUE=DATE-TIME:20090114T163000
  UID:15208112-E0FA-4A7C-954C-CFDF19D1B0E7
  RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20090219T065959Z
  SUMMARY:Wild Rose XC/Skate Training Series
  SEQUENCE:11
  LOCATION:Mountain Dell Golf Course
  END:VEVENT
  ENDCAL
  @event = events.first
end

it "should be able to enumerate occurrences" do
  @event.should be_bounded
end



end

Fails because OccurrenceList::Enumerator doesn't have a bounded? method.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A new icalendar data (RFC 2445) gem for Ruby which supports time zones and enumeration of occurrences

Shared Ticket Bins

People watching this ticket

Referenced by

Pages